import request from '@/utils/request'

// 查询总账列表
export function listGeneral(query) {
  return request({
    url: '/caiwu/general/list',
    method: 'get',
    params: query
  })
}

// 查询总账详细
export function getGeneral(id) {
  return request({
    url: '/caiwu/general/' + id,
    method: 'get'
  })
}


